package com.tongji.admin.event
{
	import com.tongji.admin.vo.Goods;
	
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/7/
	 */ 
	public class GoodsAdminEvent extends Event
	{
		public static const ADD_A_GOODS:String = "addAGoods";
		public static const GET_ALL_GOODS:String = "getAllGoods";
		
		public var goods:Goods;
		public var goodsArray:ArrayCollection;
		
		public function GoodsAdminEvent(type:String, goods:Goods = null, goodsArray:ArrayCollection = null)
		{
			super(type);
			this.goods = goods;
			this.goodsArray = goodsArray;
		}
		
		override public function clone():Event
		{
			return new GoodsAdminEvent(type, goods, goodsArray);
		}
	}
}